//
//  KKKK.h
//  LawyerClient
//
//  Created by xujingjing on 16/1/12.
//  Copyright © 2016年 xujingjing. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface QHTools : NSObject

+ (BOOL) validateIdentityCard: (NSString *)identityCard;//身份证
+(BOOL) isEmpty:(NSString *) str;
+ (BOOL)isBlankString:(NSString *)string;

+(BOOL)checkTel:(NSString *)str;
+(BOOL)checkTelNoAlert:(NSString *)phoneNum;
+(BOOL)checkCarNum:(NSString *)carNumber isShowAlert:(BOOL)isShow;

+(void)fuwenbenLabel:(UILabel *)labell FontNumber:(id)font AndRange:(NSRange)range AndColor:(UIColor *)vaColor;

+(void)AlertControl:(NSString *)message;
//打电话
+(void)callWithTel:(NSString *)phoneNum;
// data- >string 
+ (NSString *)stringFromDate:(NSDate *)date;
+(NSString *)currentDate:(NSDate *)date;
+(NSString *)changeTOStringWithDate:(NSString *)string;
+(NSString*)timeInterverString;
//时间转时间戳  http://blog.csdn.net/ios_che/article/details/8090977  
+(NSString *)timeInterverStringFromTimeString:(NSString *)string;
// 时间戳转时间
+(NSString *)stringFromTimeInterVerString:(NSString *)timeIntervel;
//时间戳转时间 含有时分秒的
+(NSString *)stringWithHHMMSSFromTimeInterVerString:(NSString *)timeIntervel;

//获取空间高度
+( CGFloat )heightForText:( NSString *)text;
 //单独计算图片的高度
+ ( CGFloat )heightForImage:( UIImage *)image;

//特殊字符的处理
+(NSString *)dealWithInnomalString:(NSString *)urlString;


@end
